package com.zutclassdemo.service.impl;

import com.zutclassdemo.entity.TMenu;
import com.zutclassdemo.mapper.TMenuMapper;
import com.zutclassdemo.service.ITMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author blackTry
 * @since 2021-04-27
 */
@Service
public class TMenuServiceImpl extends ServiceImpl<TMenuMapper, TMenu> implements ITMenuService {

    public List<TMenu> getMenusById(Integer id) {
        return this.baseMapper.getMenusById(id);
    }
}
